<div class="textmodule default">
    {permissions level=$smarty.const.UILEVEL_NORMAL}
    <div class="moduleactions">
        {if $permissions.edit == 1}
            {if $textitem->approved != 1}
                <img src="{$smarty.const.ICON_RELATIVE}edit.disabled.png" title="{$_TR.alt_edit_disabled}" alt="{$_TR.alt_edit_disabled}" {$smarty.const.XHTML_CLOSING}>
            {else}
                <a href="{link action=edit id=$textitem->id}"><img src="{$smarty.const.ICON_RELATIVE}edit.png" title="{$_TR.alt_edit}" alt="{$_TR.alt_edit}" {$smarty.const.XHTML_CLOSING}></a>
            {/if}
        {/if}
        {if $textitem->approved != 1 && ($permissions.approve == 1 || $permissions.manage_approval == 1 || $permissions.edit == 1)}
        <a href="{link module=workflow datatype=textitem m=textmodule s=$__loc->src action=summary}">{$_TR.link_viewap}</a>
        {/if}
        {if $permissions.manage_approval == 1 && ($textitem->id != 0 && $textitem->approved != 0)}
            <a href="{link module=workflow datatype=textitem m=textmodule s=$__loc->src action=revisions_view id=$textitem->id}" title="{$_TR.link_manageap}" >
                <img src="{$smarty.const.ICON_RELATIVE}revisions.png" title="{$_TR.alt_revisions}" alt="{$_TR.alt_revisions}" {$smarty.const.XHTML_CLOSING}> 
            </a>
        {/if}
    </div>
    {/permissions}        
    <div class="bodycopy lobster_font2" >
        {if $textitem->approved != 0}
            {$textitem->text}
        {/if}
    </div>
</div>

<style type="text/css">
.lobster_font2 {ldelim}
    margin: 40px 0px 10px 0px;
{rdelim}

.lobster_font2 > *, .lobster_font2 p span, .lobster_font2 p, .lobster_font2 div {ldelim}
    /*font-family: 'PT Sans Caption', serif !important;*/
    font-family: Arial !important;
    font-size: 18px;
    text-align: center;
    padding: 0px;
    margin: 0px;
    line-height: 24px;
{rdelim}
</style>


